package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsComprehensive", catalog="Id")
public class TccLogisticsComprehensive extends BaseEntity<TccLogisticsComprehensive> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="OrderGenUser", nameJava="orderGenUser", typeDataBase="varchar")
	private String orderGenUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="OrderGenTime", nameJava="orderGenTime", typeDataBase="datetime")
	private Date orderGenTime;
	@YsField(nameDataBase="LogInvoiceNo", nameJava="logInvoiceNo", typeDataBase="varchar")
	private String logInvoiceNo;
	@YsField(nameDataBase="LogChannelName", nameJava="logChannelName", typeDataBase="varchar")
	private String logChannelName;
	@YsField(nameDataBase="LogChannelId", nameJava="logChannelId", typeDataBase="bigint")
	private Long logChannelId;
	@YsField(nameDataBase="FreightMethod", nameJava="freightMethod", typeDataBase="tinyint")
	private Integer freightMethod;
	@YsField(nameDataBase="FbaNo", nameJava="fbaNo", typeDataBase="varchar")
	private String fbaNo;
	@YsField(nameDataBase="FbaDeliverBid", nameJava="fbaDeliverBid", typeDataBase="varchar")
	private String fbaDeliverBid;
	@YsField(nameDataBase="FbaDeliverId", nameJava="fbaDeliverId", typeDataBase="bigint")
	private Long fbaDeliverId;
	@YsField(nameDataBase="FbaDeliverItemId", nameJava="fbaDeliverItemId", typeDataBase="bigint")
	private Long fbaDeliverItemId;
	@YsField(nameDataBase="FbaPlanBid", nameJava="fbaPlanBid", typeDataBase="varchar")
	private String fbaPlanBid;
	@YsField(nameDataBase="FbaBoxUpBid", nameJava="fbaBoxUpBid", typeDataBase="varchar")
	private String fbaBoxUpBid;
	@YsField(nameDataBase="LogOrderBid", nameJava="logOrderBid", typeDataBase="varchar")
	private String logOrderBid;
	@YsField(nameDataBase="LogInvoiceBox", nameJava="logInvoiceBox", typeDataBase="int")
	private Integer logInvoiceBox;
	@YsField(nameDataBase="LogOrderProfit", nameJava="logOrderProfit", typeDataBase="decimal")
	private BigDecimal logOrderProfit;
	@YsField(nameDataBase="LogOrderProfitMargin", nameJava="logOrderProfitMargin", typeDataBase="decimal")
	private BigDecimal logOrderProfitMargin;
	@YsField(nameDataBase="LogInvoiceWeight", nameJava="logInvoiceWeight", typeDataBase="decimal")
	private BigDecimal logInvoiceWeight;
	@YsField(nameDataBase="LogInvoiceCost", nameJava="logInvoiceCost", typeDataBase="decimal")
	private BigDecimal logInvoiceCost;
	@YsField(nameDataBase="LogInvoiceSalesFee", nameJava="logInvoiceSalesFee", typeDataBase="decimal")
	private BigDecimal logInvoiceSalesFee;
	@YsField(nameDataBase="TrackingCode", nameJava="trackingCode", typeDataBase="varchar")
	private String trackingCode;
	@YsField(nameDataBase="LenEncoding", nameJava="lenEncoding", typeDataBase="varchar")
	private String lenEncoding;
	@YsField(nameDataBase="FileC88", nameJava="fileC88", typeDataBase="varchar")
	private String fileC88;
	@YsField(nameDataBase="ConfirmOrderUser", nameJava="confirmOrderUser", typeDataBase="varchar")
	private String confirmOrderUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="ConfirmOrderTime", nameJava="confirmOrderTime", typeDataBase="datetime")
	private Date confirmOrderTime;
	@YsField(nameDataBase="SpOrderBid", nameJava="spOrderBid", typeDataBase="varchar")
	private String spOrderBid;
	@YsField(nameDataBase="SpLogsticsFee", nameJava="spLogsticsFee", typeDataBase="decimal")
	private BigDecimal spLogsticsFee;
	@YsField(nameDataBase="LogOrderProfitDz", nameJava="logOrderProfitDz", typeDataBase="decimal")
	private BigDecimal logOrderProfitDz;
	@YsField(nameDataBase="LogServiceProfitDz", nameJava="logServiceProfitDz", typeDataBase="decimal")
	private BigDecimal logServiceProfitDz;
	@YsField(nameDataBase="LogOrderMarginDz", nameJava="logOrderMarginDz", typeDataBase="decimal")
	private BigDecimal logOrderMarginDz;
	@YsField(nameDataBase="LogServiceMarginDz", nameJava="logServiceMarginDz", typeDataBase="decimal")
	private BigDecimal logServiceMarginDz;
	@YsField(nameDataBase="LogOrderStatusDz", nameJava="logOrderStatusDz", typeDataBase="tinyint")
	private Integer logOrderStatusDz;
	@YsField(nameDataBase="LogSpAmount", nameJava="logSpAmount", typeDataBase="decimal")
	private BigDecimal logSpAmount;
	@YsField(nameDataBase="LogPayStatusZf", nameJava="logPayStatusZf", typeDataBase="tinyint")
	private Integer logPayStatusZf;
	@YsField(nameDataBase="LogOrderlDesDz", nameJava="logOrderlDesDz", typeDataBase="varchar")
	private String logOrderlDesDz;
	@YsField(nameDataBase="ServiceTariff", nameJava="serviceTariff", typeDataBase="decimal")
	private BigDecimal serviceTariff;
	@YsField(nameDataBase="RateDuty", nameJava="rateDuty", typeDataBase="decimal")
	private BigDecimal rateDuty;
	@YsField(nameDataBase="SpTariffAmount", nameJava="spTariffAmount", typeDataBase="decimal")
	private BigDecimal spTariffAmount;
	@YsField(nameDataBase="TariffPayStatus", nameJava="tariffPayStatus", typeDataBase="tinyint")
	private Integer tariffPayStatus;
	@YsField(nameDataBase="TariffZfStatus", nameJava="tariffZfStatus", typeDataBase="tinyint")
	private Integer tariffZfStatus;
	@YsField(nameDataBase="PayRemark", nameJava="payRemark", typeDataBase="varchar")
	private String payRemark;
	@YsField(nameDataBase="ApiPlaceOrderStatus", nameJava="apiPlaceOrderStatus", typeDataBase="tinyint")
	private Integer apiPlaceOrderStatus;
	@YsField(nameDataBase="IsFirstByInvoice", nameJava="isFirstByInvoice", typeDataBase="tinyint")
	private Integer isFirstByInvoice;
	@YsField(nameDataBase="WarehouseArea", nameJava="warehouseArea", typeDataBase="varchar")
	private String warehouseArea;
	@YsField(nameDataBase="LogisticsMarkingBid", nameJava="logisticsMarkingBid", typeDataBase="varchar")
	private String logisticsMarkingBid;
	@YsField(nameDataBase="CubeNum", nameJava="cubeNum", typeDataBase="decimal")
	private BigDecimal cubeNum;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsComprehensive setId(Long id) {
		this.id = id;
		return this;
	}
	public String getOrderGenUser() {
		return orderGenUser;
	}
	public TccLogisticsComprehensive setOrderGenUser(String orderGenUser) {
		this.orderGenUser = orderGenUser;
		return this;
	}
	public Date getOrderGenTime() {
		return orderGenTime;
	}
	public TccLogisticsComprehensive setOrderGenTime(Date orderGenTime) {
		this.orderGenTime = orderGenTime;
		return this;
	}
	public String getLogInvoiceNo() {
		return logInvoiceNo;
	}
	public TccLogisticsComprehensive setLogInvoiceNo(String logInvoiceNo) {
		this.logInvoiceNo = logInvoiceNo;
		return this;
	}
	public String getLogChannelName() {
		return logChannelName;
	}
	public TccLogisticsComprehensive setLogChannelName(String logChannelName) {
		this.logChannelName = logChannelName;
		return this;
	}
	public Long getLogChannelId() {
		return logChannelId;
	}
	public TccLogisticsComprehensive setLogChannelId(Long logChannelId) {
		this.logChannelId = logChannelId;
		return this;
	}
	public Integer getFreightMethod() {
		return freightMethod;
	}
	public TccLogisticsComprehensive setFreightMethod(Integer freightMethod) {
		this.freightMethod = freightMethod;
		return this;
	}
	public String getFbaNo() {
		return fbaNo;
	}
	public TccLogisticsComprehensive setFbaNo(String fbaNo) {
		this.fbaNo = fbaNo;
		return this;
	}
	public String getFbaDeliverBid() {
		return fbaDeliverBid;
	}
	public TccLogisticsComprehensive setFbaDeliverBid(String fbaDeliverBid) {
		this.fbaDeliverBid = fbaDeliverBid;
		return this;
	}
	public Long getFbaDeliverId() {
		return fbaDeliverId;
	}
	public TccLogisticsComprehensive setFbaDeliverId(Long fbaDeliverId) {
		this.fbaDeliverId = fbaDeliverId;
		return this;
	}
	public Long getFbaDeliverItemId() {
		return fbaDeliverItemId;
	}
	public TccLogisticsComprehensive setFbaDeliverItemId(Long fbaDeliverItemId) {
		this.fbaDeliverItemId = fbaDeliverItemId;
		return this;
	}
	public String getFbaPlanBid() {
		return fbaPlanBid;
	}
	public TccLogisticsComprehensive setFbaPlanBid(String fbaPlanBid) {
		this.fbaPlanBid = fbaPlanBid;
		return this;
	}
	public String getFbaBoxUpBid() {
		return fbaBoxUpBid;
	}
	public TccLogisticsComprehensive setFbaBoxUpBid(String fbaBoxUpBid) {
		this.fbaBoxUpBid = fbaBoxUpBid;
		return this;
	}
	public String getLogOrderBid() {
		return logOrderBid;
	}
	public TccLogisticsComprehensive setLogOrderBid(String logOrderBid) {
		this.logOrderBid = logOrderBid;
		return this;
	}
	public Integer getLogInvoiceBox() {
		return logInvoiceBox;
	}
	public TccLogisticsComprehensive setLogInvoiceBox(Integer logInvoiceBox) {
		this.logInvoiceBox = logInvoiceBox;
		return this;
	}
	public BigDecimal getLogOrderProfit() {
		return logOrderProfit;
	}
	public TccLogisticsComprehensive setLogOrderProfit(BigDecimal logOrderProfit) {
		this.logOrderProfit = logOrderProfit;
		return this;
	}
	public BigDecimal getLogOrderProfitMargin() {
		return logOrderProfitMargin;
	}
	public TccLogisticsComprehensive setLogOrderProfitMargin(BigDecimal logOrderProfitMargin) {
		this.logOrderProfitMargin = logOrderProfitMargin;
		return this;
	}
	public BigDecimal getLogInvoiceWeight() {
		return logInvoiceWeight;
	}
	public TccLogisticsComprehensive setLogInvoiceWeight(BigDecimal logInvoiceWeight) {
		this.logInvoiceWeight = logInvoiceWeight;
		return this;
	}
	public BigDecimal getLogInvoiceCost() {
		return logInvoiceCost;
	}
	public TccLogisticsComprehensive setLogInvoiceCost(BigDecimal logInvoiceCost) {
		this.logInvoiceCost = logInvoiceCost;
		return this;
	}
	public BigDecimal getLogInvoiceSalesFee() {
		return logInvoiceSalesFee;
	}
	public TccLogisticsComprehensive setLogInvoiceSalesFee(BigDecimal logInvoiceSalesFee) {
		this.logInvoiceSalesFee = logInvoiceSalesFee;
		return this;
	}
	public String getTrackingCode() {
		return trackingCode;
	}
	public TccLogisticsComprehensive setTrackingCode(String trackingCode) {
		this.trackingCode = trackingCode;
		return this;
	}
	public String getLenEncoding() {
		return lenEncoding;
	}
	public TccLogisticsComprehensive setLenEncoding(String lenEncoding) {
		this.lenEncoding = lenEncoding;
		return this;
	}
	public String getFileC88() {
		return fileC88;
	}
	public TccLogisticsComprehensive setFileC88(String fileC88) {
		this.fileC88 = fileC88;
		return this;
	}
	public String getConfirmOrderUser() {
		return confirmOrderUser;
	}
	public TccLogisticsComprehensive setConfirmOrderUser(String confirmOrderUser) {
		this.confirmOrderUser = confirmOrderUser;
		return this;
	}
	public Date getConfirmOrderTime() {
		return confirmOrderTime;
	}
	public TccLogisticsComprehensive setConfirmOrderTime(Date confirmOrderTime) {
		this.confirmOrderTime = confirmOrderTime;
		return this;
	}
	public String getSpOrderBid() {
		return spOrderBid;
	}
	public TccLogisticsComprehensive setSpOrderBid(String spOrderBid) {
		this.spOrderBid = spOrderBid;
		return this;
	}
	public BigDecimal getSpLogsticsFee() {
		return spLogsticsFee;
	}
	public TccLogisticsComprehensive setSpLogsticsFee(BigDecimal spLogsticsFee) {
		this.spLogsticsFee = spLogsticsFee;
		return this;
	}
	public BigDecimal getLogOrderProfitDz() {
		return logOrderProfitDz;
	}
	public TccLogisticsComprehensive setLogOrderProfitDz(BigDecimal logOrderProfitDz) {
		this.logOrderProfitDz = logOrderProfitDz;
		return this;
	}
	public BigDecimal getLogServiceProfitDz() {
		return logServiceProfitDz;
	}
	public TccLogisticsComprehensive setLogServiceProfitDz(BigDecimal logServiceProfitDz) {
		this.logServiceProfitDz = logServiceProfitDz;
		return this;
	}
	public BigDecimal getLogOrderMarginDz() {
		return logOrderMarginDz;
	}
	public TccLogisticsComprehensive setLogOrderMarginDz(BigDecimal logOrderMarginDz) {
		this.logOrderMarginDz = logOrderMarginDz;
		return this;
	}
	public BigDecimal getLogServiceMarginDz() {
		return logServiceMarginDz;
	}
	public TccLogisticsComprehensive setLogServiceMarginDz(BigDecimal logServiceMarginDz) {
		this.logServiceMarginDz = logServiceMarginDz;
		return this;
	}
	public Integer getLogOrderStatusDz() {
		return logOrderStatusDz;
	}
	public TccLogisticsComprehensive setLogOrderStatusDz(Integer logOrderStatusDz) {
		this.logOrderStatusDz = logOrderStatusDz;
		return this;
	}
	public BigDecimal getLogSpAmount() {
		return logSpAmount;
	}
	public TccLogisticsComprehensive setLogSpAmount(BigDecimal logSpAmount) {
		this.logSpAmount = logSpAmount;
		return this;
	}
	public Integer getLogPayStatusZf() {
		return logPayStatusZf;
	}
	public TccLogisticsComprehensive setLogPayStatusZf(Integer logPayStatusZf) {
		this.logPayStatusZf = logPayStatusZf;
		return this;
	}
	public String getLogOrderlDesDz() {
		return logOrderlDesDz;
	}
	public TccLogisticsComprehensive setLogOrderlDesDz(String logOrderlDesDz) {
		this.logOrderlDesDz = logOrderlDesDz;
		return this;
	}
	public BigDecimal getServiceTariff() {
		return serviceTariff;
	}
	public TccLogisticsComprehensive setServiceTariff(BigDecimal serviceTariff) {
		this.serviceTariff = serviceTariff;
		return this;
	}
	public BigDecimal getRateDuty() {
		return rateDuty;
	}
	public TccLogisticsComprehensive setRateDuty(BigDecimal rateDuty) {
		this.rateDuty = rateDuty;
		return this;
	}
	public BigDecimal getSpTariffAmount() {
		return spTariffAmount;
	}
	public TccLogisticsComprehensive setSpTariffAmount(BigDecimal spTariffAmount) {
		this.spTariffAmount = spTariffAmount;
		return this;
	}
	public Integer getTariffPayStatus() {
		return tariffPayStatus;
	}
	public TccLogisticsComprehensive setTariffPayStatus(Integer tariffPayStatus) {
		this.tariffPayStatus = tariffPayStatus;
		return this;
	}
	public Integer getTariffZfStatus() {
		return tariffZfStatus;
	}
	public TccLogisticsComprehensive setTariffZfStatus(Integer tariffZfStatus) {
		this.tariffZfStatus = tariffZfStatus;
		return this;
	}
	public String getPayRemark() {
		return payRemark;
	}
	public TccLogisticsComprehensive setPayRemark(String payRemark) {
		this.payRemark = payRemark;
		return this;
	}
	public Integer getApiPlaceOrderStatus() {
		return apiPlaceOrderStatus;
	}
	public TccLogisticsComprehensive setApiPlaceOrderStatus(Integer apiPlaceOrderStatus) {
		this.apiPlaceOrderStatus = apiPlaceOrderStatus;
		return this;
	}
	public Integer getIsFirstByInvoice() {
		return isFirstByInvoice;
	}
	public TccLogisticsComprehensive setIsFirstByInvoice(Integer isFirstByInvoice) {
		this.isFirstByInvoice = isFirstByInvoice;
		return this;
	}
	public String getWarehouseArea() {
		return warehouseArea;
	}
	public TccLogisticsComprehensive setWarehouseArea(String warehouseArea) {
		this.warehouseArea = warehouseArea;
		return this;
	}
	public String getLogisticsMarkingBid() {
		return logisticsMarkingBid;
	}
	public TccLogisticsComprehensive setLogisticsMarkingBid(String logisticsMarkingBid) {
		this.logisticsMarkingBid = logisticsMarkingBid;
		return this;
	}
	public BigDecimal getCubeNum() {
		return cubeNum;
	}
	public TccLogisticsComprehensive setCubeNum(BigDecimal cubeNum) {
		this.cubeNum = cubeNum;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsComprehensive setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsComprehensive setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsComprehensive setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsComprehensive tccLogisticsComprehensive(
		String orderGenUser,
		Date orderGenTime,
		String logInvoiceNo,
		String logChannelName,
		Long logChannelId,
		Integer freightMethod,
		String fbaNo,
		String fbaDeliverBid,
		Long fbaDeliverId,
		Long fbaDeliverItemId,
		String fbaPlanBid,
		String fbaBoxUpBid,
		String logOrderBid,
		Integer logInvoiceBox,
		BigDecimal logOrderProfit,
		BigDecimal logOrderProfitMargin,
		BigDecimal logInvoiceWeight,
		BigDecimal logInvoiceCost,
		BigDecimal logInvoiceSalesFee,
		String trackingCode,
		String lenEncoding,
		String fileC88,
		String confirmOrderUser,
		Date confirmOrderTime,
		String spOrderBid,
		BigDecimal spLogsticsFee,
		BigDecimal logOrderProfitDz,
		BigDecimal logServiceProfitDz,
		BigDecimal logOrderMarginDz,
		BigDecimal logServiceMarginDz,
		Integer logOrderStatusDz,
		BigDecimal logSpAmount,
		Integer logPayStatusZf,
		String logOrderlDesDz,
		BigDecimal serviceTariff,
		BigDecimal rateDuty,
		BigDecimal spTariffAmount,
		Integer tariffPayStatus,
		Integer tariffZfStatus,
		String payRemark,
		Integer apiPlaceOrderStatus,
		Integer isFirstByInvoice,
		String warehouseArea,
		String logisticsMarkingBid,
		BigDecimal cubeNum,
		Integer status
			) {
		TccLogisticsComprehensive entity = new TccLogisticsComprehensive();
		entity.setOrderGenUser(orderGenUser);
		entity.setOrderGenTime(orderGenTime);
		entity.setLogInvoiceNo(logInvoiceNo);
		entity.setLogChannelName(logChannelName);
		entity.setLogChannelId(logChannelId);
		entity.setFreightMethod(freightMethod);
		entity.setFbaNo(fbaNo);
		entity.setFbaDeliverBid(fbaDeliverBid);
		entity.setFbaDeliverId(fbaDeliverId);
		entity.setFbaDeliverItemId(fbaDeliverItemId);
		entity.setFbaPlanBid(fbaPlanBid);
		entity.setFbaBoxUpBid(fbaBoxUpBid);
		entity.setLogOrderBid(logOrderBid);
		entity.setLogInvoiceBox(logInvoiceBox);
		entity.setLogOrderProfit(logOrderProfit);
		entity.setLogOrderProfitMargin(logOrderProfitMargin);
		entity.setLogInvoiceWeight(logInvoiceWeight);
		entity.setLogInvoiceCost(logInvoiceCost);
		entity.setLogInvoiceSalesFee(logInvoiceSalesFee);
		entity.setTrackingCode(trackingCode);
		entity.setLenEncoding(lenEncoding);
		entity.setFileC88(fileC88);
		entity.setConfirmOrderUser(confirmOrderUser);
		entity.setConfirmOrderTime(confirmOrderTime);
		entity.setSpOrderBid(spOrderBid);
		entity.setSpLogsticsFee(spLogsticsFee);
		entity.setLogOrderProfitDz(logOrderProfitDz);
		entity.setLogServiceProfitDz(logServiceProfitDz);
		entity.setLogOrderMarginDz(logOrderMarginDz);
		entity.setLogServiceMarginDz(logServiceMarginDz);
		entity.setLogOrderStatusDz(logOrderStatusDz);
		entity.setLogSpAmount(logSpAmount);
		entity.setLogPayStatusZf(logPayStatusZf);
		entity.setLogOrderlDesDz(logOrderlDesDz);
		entity.setServiceTariff(serviceTariff);
		entity.setRateDuty(rateDuty);
		entity.setSpTariffAmount(spTariffAmount);
		entity.setTariffPayStatus(tariffPayStatus);
		entity.setTariffZfStatus(tariffZfStatus);
		entity.setPayRemark(payRemark);
		entity.setApiPlaceOrderStatus(apiPlaceOrderStatus);
		entity.setIsFirstByInvoice(isFirstByInvoice);
		entity.setWarehouseArea(warehouseArea);
		entity.setLogisticsMarkingBid(logisticsMarkingBid);
		entity.setCubeNum(cubeNum);
		entity.setStatus(status);
		return entity;
	}
}